package com.premadefood.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户订单表
 * @TableName userorder
 */
@TableName(value ="userorder")
@Data
public class Userorder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单状态（待付款、待发货、待收货、待售后、评价）
     */
    private String orderStatus;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 订单商品Id
     */
    private Integer goodsId;

    /**
     * 订单购买数量
     */
    private Integer quantity;

    /**
     * 订单金额
     */
    private Integer priceTotal;

    /**
     * 订单详情(派送情况)
     */
    private String orderDetail;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}